package com.xyz.dto;

import com.xyz.aop.Param;

import java.io.Serializable;

public class SpecialPageAllDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Param(type = Param.ParamType.POSITIVE_INTEGER)
    private String pageNum;

    @Param(type = Param.ParamType.POSITIVE_INTEGER)
    private String pageSize;

    @Param(isRequired = false)
    private String name;

    @Param(isRequired = false, type = Param.ParamType.DATE, rule = "yyyy-MM-dd")
    private String startTime;

    @Param(isRequired = false, type = Param.ParamType.DATE, rule = "yyyy-MM-dd")
    private String endTime;

    public String getPageNum() {
        return pageNum;
    }

    public void setPageNum(String pageNum) {
        this.pageNum = pageNum;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
